package com.ywkj.ktyunxiao.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author LiWenHao
 * @date 2018/5/5 14:25
 */
@Configuration
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {

    private String header = "Authorization";
    private String secret = "jxywkj@820";
    private Long expiration = 604800L;
    private String authPath;

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public Long getExpiration() {
        return expiration;
    }

    public void setExpiration(Long expiration) {
        this.expiration = expiration;
    }

    public String getAuthPath() {
        return authPath;
    }

    public void setAuthPath(String authPath) {
        this.authPath = authPath;
    }
}
